.activities-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20rpx;
}

.create-section {
  margin-bottom: 20rpx;

  .create-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30rpx;
    border-radius: 16rpx;
    font-size: 30rpx;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 8rpx 16rpx rgba(102, 126, 234, 0.3);

    &::after {
      border: none;
    }

    .btn-icon {
      font-size: 36rpx;
      margin-right: 10rpx;
    }
  }
}

.coupon-list {
  flex: 1;
  height: calc(100vh - 200rpx);
}

.coupon-card {
  background: white;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);

  .coupon-header {
    margin-bottom: 20rpx;

    .coupon-info-row {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .coupon-id {
        font-size: 26rpx;
        color: #666;
      }

      .coupon-status {
        padding: 8rpx 16rpx;
        border-radius: 16rpx;
        font-size: 24rpx;
        font-weight: 500;

        &.status-active {
          background: #e8f5e8;
          color: #5cb85c;
        }

        &.status-inactive {
          background: #f5f5f5;
          color: #999;
        }
      }
    }
  }

  .coupon-content {
    .info-item {
      display: flex;
      padding: 15rpx 0;
      border-bottom: 1rpx solid #f0f0f0;

      &:last-child {
        border-bottom: none;
      }

      .info-label {
        font-size: 28rpx;
        color: #999;
        min-width: 180rpx;
      }

      .info-value {
        font-size: 28rpx;
        color: #333;
        flex: 1;
      }
    }
  }

  .coupon-actions {
    display: flex;
    gap: 15rpx;
    margin-top: 25rpx;
    flex-wrap: wrap;

    .action-btn {
      flex: 1;
      min-width: 140rpx;
      padding: 18rpx 20rpx;
      border-radius: 12rpx;
      font-size: 26rpx;
      border: none;

      &.primary {
        background: #5cb85c;
        color: white;
      }

      &.secondary {
        background: #f8f9fa;
        color: #666;
        border: 1rpx solid #e9ecef;
      }

      &.warning {
        background: #ffc107;
        color: white;
      }

      &.danger {
        background: #ff4757;
        color: white;
      }

      &::after {
        border: none;
      }
    }
  }
}

.loading-more,
.no-more,
.loading-state {
  text-align: center;
  padding: 30rpx 0;

  .loading-text,
  .no-more-text {
    font-size: 26rpx;
    color: #999;
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100rpx 60rpx;
  text-align: center;

  .empty-icon {
    width: 200rpx;
    height: 200rpx;
    margin-bottom: 30rpx;
    opacity: 0.3;
  }

  .empty-text {
    font-size: 30rpx;
    color: #999;
    margin-bottom: 10rpx;
  }

  .empty-desc {
    font-size: 26rpx;
    color: #ccc;
    margin-bottom: 40rpx;
  }

  .empty-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20rpx 60rpx;
    border-radius: 50rpx;
    font-size: 28rpx;
    border: none;

    &::after {
      border: none;
    }
  }
}



